﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DomainModel.Entities;

namespace DomainModel.Abstract
{
    // Interface for the Questions section of the database.
    // This is the top level of the DAL.
    public interface IQuestionsRepository
    {
        // Linq interface for the Question repository.
        IQueryable<Question> Questions { get; }
        // Save a Question to the repository.
        void SaveQuestion(Question question);
        // Delete a Question from the repository.
        void DeleteQuestion(Question question);
    }
}
